package UIFree.controls
{
	import UIFree.uif_component;
	import UIFree.uif_ecomponent;
	
	import flash.events.Event;

	public class uif_tabsLayer extends uif_ecomponent {
		private var _selectLayer: int;
		public function uif_tabsLayer(parent:uif_component, ax:int=0, ay:int=0, awidth:int=0, aheight:int=0, styleClass:String='') {
			super(parent, ax, ay, awidth, aheight, styleClass);
			_selectLayer = -1;
		}
		
		public function get tabsBox(): uif_tabsBox {
			return parent as uif_tabsBox;
		}
		
		public function assign(tabIndex: int, control: uif_component): uif_component {
			control.visible = false;
			addChildAt(control, tabIndex);
			return control;
		} 
	}
}